/*
 * @Descripttion: 
 * @version: 
 * @Author: wtzhang
 * @Date: 2021-07-13 08:52:07
 * @LastEditors: wtzhang
 * @LastEditTime: 2021-07-13 09:08:20
 */
function getDom<T, N>(type: T, name: N): Element | null {
  return document.querySelector(`[${type}="${name}"]`)
}
export default {
  getDom
}